Skip to content

test: fix flaky parallel/test-repl-history-navigation test - #31708

Closed
BridgeAR wants to merge 2 commits into
nodejs:masterfrom
BridgeAR:2020-02-09-fix-repl-history-navigation-test
Closed

BridgeAR wants to merge 2 commits into
nodejs:masterfrom
BridgeAR:2020-02-09-fix-repl-history-navigation-test

Conversation

@BridgeAR

@BridgeAR BridgeAR commented Feb 9, 2020

Copy link
Copy Markdown
Member

Two scenarios should be tested:

  1. The completion is triggered and the result is printed before the
    next invocation.
  2. The completion is triggered multiple times right after each other
    without waiting for the result. In that case only the last result
    should be printed.

The first scenario did not need a timeout while the latter did not
need a timeout for the second invocation.

Fixes: #31094

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Two scenarios should be tested:

1. The completion is triggered and the result is printed before the
   next invocation.
2. The completion is triggered multiple times right after each other
   without waiting for the result. In that case only the last result
   should be printed.

The first scenario did not need a timeout while the latter did not
need a timeout for the second invocation.
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to Node.js core tests and test infrastructure. label Feb 9, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Comment thread test/parallel/test-repl-history-navigation.js Outdated
@nodejs-github-bot

ghost commented Feb 10, 2020

Copy link
Copy Markdown
Collaborator

@BridgeAR BridgeAR added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Feb 10, 2020
@addaleax

ghost commented Feb 13, 2020

Copy link
Copy Markdown
Member

Landed in 9da57a8

@targos

ghost commented Apr 18, 2020

Copy link
Copy Markdown
Member

depends on semver-minor changes to land on v12.x

@targos targos removed author ready PRs with CI started, the required approvals, and no outstanding review comments. backport-blocked-v12.x labels Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Couldn't load reviewers.

Assignees

Couldn't load assignees.